<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org" th:replace="~{publicpage(title='用户编辑')}">
<meta charset="UTF-8">
<div th:fragment="public_right">
    <table class="table table-hover" style="width:80%">
        <tr>
            <td>编号</td>
            <td>用户名</td>
            <td>密码</td>
            <td>身份</td>
            <td>操作</td>
        </tr>
        <tr th:each="User:${Result}">
            <td th:text="${User.id}"> </td>
            <td th:text="${User.userName}"> </td>
            <td th:text="${User.userPass}"> </td>
            <td th:text="${User.userRole}"> </td>
            <td>
                <a th:href="@{'/godel/'+${User.id}}">删除</a>
                <a th:href="@{'/goupdate/'+${User.id}}">更新</a>
            </td>
        </tr>
    </table>

</div>
</html>